Content notification on online social networks for media-player devices

ABSTRACT

In one embodiment, a method includes receiving, from a first client system of a first user of the online social network, an indication that a media-player device is proximate to the first client system. Content information associated with media-content items may be accessed. The media-content items may be accessible to the first user via the media-player device. Responsive to the received indication and content information, social-networking information of the first user may be accessed. A media-content item may be selected based on the content information and the social-networking information of the first user. A customized notification may be sent to the first client system. The customized notification may include a reference to the selected media-content item and a deep link to the media-player device. The deep link may be selectable by the first user and may include instructions for accessing the selected media-content item via the media-player device.

TECHNICAL FIELD

This disclosure generally relates to presenting content via amedia-player device, particularly within the context of an online socialnetwork.

BACKGROUND

A social-networking system, which may include a social-networkingwebsite, may enable its users (such as persons or organizations) tointeract with it and with each other through it. The social-networkingsystem may, with input from a user, create and store in thesocial-networking system a user profile associated with the user. Theuser profile may include demographic information, communication-channelinformation, and information on personal interests of the user. Thesocial-networking system may also, with input from a user, create andstore a record of relationships of the user with other users of thesocial-networking system, as well as provide services (e.g., wall posts,photo-sharing, event organization, messaging, games, or advertisements)to facilitate social interaction between or among users.

The social-networking system may send over one or more networks contentor messages related to its services to a mobile or other computingdevice of a user. A user may also install software applications on amobile or other computing device of the user for accessing a userprofile of the user and other data within the social-networking system.The social-networking system may generate a personalized set of contentobjects to display to a user, such as a newsfeed of aggregated storiesof other users connected to the user.

Social-graph analysis views social relationships in terms of networktheory consisting of nodes and edges. Nodes represent the individualactors within the networks, and edges represent the relationshipsbetween the actors. The resulting graph-based structures are often verycomplex. There can be many types of nodes and many types of edges forconnecting nodes. In its simplest form, a social graph is a map of allof the relevant edges between all the nodes being studied.

SUMMARY OF PARTICULAR EMBODIMENTS

In particular embodiments, a social-networking system may providemedia-content item recommendations to a user's client system when theuser's client system is proximate to a media-device player. Themedia-content item recommendations may be customized for the user inorder to enhance the user's media-viewing experience. The media-playerdevice may have social-networking functionality, and may communicatewith a social-networking system. The media-device player may incorporatea display screen or be separately coupled—via a wired or wirelessconnection—to a display screen (e.g., television). The media-deviceplayer may provide streaming media content (e.g., television shows,movies, music, music videos, or any other suitable media content) fordisplay on the display screen. As an example and not by way oflimitation, the media-player device may retrieve the media content forstreaming, via a wireless internet connection, directly from the contentproviders.

In particular embodiments, a notification may be delivered to a user'sclient system, and the notification may include a media-content itemrecommendation and a deep link. The deep link may be generated by, as anexample and not by way of limitation, a social-networking system. Whenselected (e.g., clicked), the deep link may cause the user's clientsystem to send an instruction to the proximate media-device playerinstructing it to present the recommended media-content item to the user(e.g., to turn on and play an episode of a television show). The deeplink may be presented in an application on the user's client system, andthe deep link may cause content to be played on, as an example and notby way of limitation, a TV screen connected to the media-device player.

The embodiments disclosed above are only examples, and the scope of thisdisclosure is not limited to them. Particular embodiments may includeall, some, or none of the components, elements, features, functions,operations, or steps of the embodiments disclosed above. Embodimentsaccording to the invention are in particular disclosed in the attachedclaims directed to a method, a storage medium, a system and a computerprogram product, wherein any feature mentioned in one claim category,e.g., method, can be claimed in another claim category, e.g., system, aswell. The dependencies or references back in the attached claims arechosen for formal reasons only. However any subject matter resultingfrom a deliberate reference back to any previous claims (in particularmultiple dependencies) can be claimed as well, so that any combinationof claims and the features thereof are disclosed and can be claimedregardless of the dependencies chosen in the attached claims. Thesubject-matter which can be claimed comprises not only the combinationsof features as set out in the attached claims but also any othercombination of features in the claims, wherein each feature mentioned inthe claims can be combined with any other feature or combination ofother features in the claims. Furthermore, any of the embodiments andfeatures described or depicted herein can be claimed in a separate claimand/or in any combination with any embodiment or feature described ordepicted herein or with any of the features of the attached claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an example network environment associated with asocial-networking system.

FIG. 2 illustrates an example social graph.

FIG. 3 illustrates an example media-player device environment associatedwith a social-networking system.

FIG. 4A illustrates an example view of a notification and a deep link ona client system.

FIG. 4B illustrates an example view of a push notification and a deeplink on a client system.

FIG. 5 illustrates an example view of a deep link in a messagingapplication on a client system.

FIG. 6 illustrates an example method for sending customizednotifications to a client system.

FIG. 7 illustrates an example method for accessing a media-content itemvia a media-player device using a deep link on a client system.

FIG. 8 illustrates an example computer system.

DESCRIPTION OF EXAMPLE EMBODIMENTS

System Overview

FIG. 1 illustrates an example network environment 100 associated with asocial-networking system. Network environment 100 includes a clientsystem 130, a social-networking system 160, and a third-party system 170connected to each other by a network 110. Although FIG. 1 illustrates aparticular arrangement of client system 130, social-networking system160, third-party system 170, and network 110, this disclosurecontemplates any suitable arrangement of client system 130,social-networking system 160, third-party system 170, and network 110.As an example and not by way of limitation, two or more of client system130, social-networking system 160, and third-party system 170 may beconnected to each other directly, bypassing network 110. As anotherexample, two or more of client system 130, social-networking system 160,and third-party system 170 may be physically or logically co-locatedwith each other in whole or in part. Moreover, although FIG. 1illustrates a particular number of client systems 130, social-networkingsystems 160, third-party systems 170, and networks 110, this disclosurecontemplates any suitable number of client systems 130,social-networking systems 160, third-party systems 170, and networks110. As an example and not by way of limitation, network environment 100may include multiple client system 130, social-networking systems 160,third-party systems 170, and networks 110.

This disclosure contemplates any suitable network 110. As an example andnot by way of limitation, one or more portions of network 110 mayinclude an ad hoc network, an intranet, an extranet, a virtual privatenetwork (VPN), a local area network (LAN), a wireless LAN (WLAN), a widearea network (WAN), a wireless WAN (WWAN), a metropolitan area network(MAN), a portion of the Internet, a portion of the Public SwitchedTelephone Network (PSTN), a cellular telephone network, or a combinationof two or more of these. Network 110 may include one or more networks110.

Links 150 may connect client system 130, social-networking system 160,and third-party system 170 to communication network 110 or to eachother. This disclosure contemplates any suitable links 150. Inparticular embodiments, one or more links 150 include one or morewireline (such as for example Digital Subscriber Line (DSL) or Data OverCable Service Interface Specification (DOCSIS)), wireless (such as forexample Wi-Fi or Worldwide Interoperability for Microwave Access(WiMAX)), or optical (such as for example Synchronous Optical Network(SONET) or Synchronous Digital Hierarchy (SDH)) links. In particularembodiments, one or more links 150 each include an ad hoc network, anintranet, an extranet, a VPN, a LAN, a WLAN, a WAN, a WWAN, a MAN, aportion of the Internet, a portion of the PSTN, a cellulartechnology-based network, a satellite communications technology-basednetwork, another link 150, or a combination of two or more such links150. Links 150 need not necessarily be the same throughout networkenvironment 100. One or more first links 150 may differ in one or morerespects from one or more second links 150.

In particular embodiments, client system 130 may be an electronic deviceincluding hardware, software, or embedded logic components or acombination of two or more such components and capable of carrying outthe appropriate functionalities implemented or supported by clientsystem 130. As an example and not by way of limitation, a client system130 may include a computer system such as a desktop computer, notebookor laptop computer, netbook, a tablet computer, e-book reader, GPSdevice, camera, personal digital assistant (PDA), handheld electronicdevice, cellular telephone, smartphone, other suitable electronicdevice, or any suitable combination thereof. This disclosurecontemplates any suitable client systems 130. A client system 130 mayenable a network user at client system 130 to access network 110. Aclient system 130 may enable its user to communicate with other users atother client systems 130.

In particular embodiments, client system 130 may include a web browser132, such as MICROSOFT INTERNET EXPLORER, GOOGLE CHROME or MOZILLAFIREFOX, and may have one or more add-ons, plug-ins, or otherextensions, such as TOOLBAR or YAHOO TOOLBAR. A user at client system130 may enter a Uniform Resource Locator (URL) or other addressdirecting the web browser 132 to a particular server (such as server162, or a server associated with a third-party system 170), and the webbrowser 132 may generate a Hyper Text Transfer Protocol (HTTP) requestand communicate the HTTP request to server. The server may accept theHTTP request and communicate to client system 130 one or more Hyper TextMarkup Language (HTML) files responsive to the HTTP request. Clientsystem 130 may render a webpage based on the HTML files from the serverfor presentation to the user. This disclosure contemplates any suitablewebpage files. As an example and not by way of limitation, webpages mayrender from HTML files, Extensible Hyper Text Markup Language (XHTML)files, or Extensible Markup Language (XML) files, according toparticular needs. Such pages may also execute scripts such as, forexample and without limitation, those written in JAVASCRIPT, JAVA,MICROSOFT SILVERLIGHT, combinations of markup language and scripts suchas AJAX (Asynchronous JAVASCRIPT and XML), and the like. Herein,reference to a webpage encompasses one or more corresponding webpagefiles (which a browser may use to render the webpage) and vice versa,where appropriate.

In particular embodiments, social-networking system 160 may be anetwork-addressable computing system that can host an online socialnetwork. Social-networking system 160 may generate, store, receive, andsend social-networking data, such as, for example, user-profile data,concept-profile data, social-graph information, or other suitable datarelated to the online social network. Social-networking system 160 maybe accessed by the other components of network environment 100 eitherdirectly or via network 110. In particular embodiments,social-networking system 160 may include one or more servers 162. Eachserver 162 may be a unitary server or a distributed server spanningmultiple computers or multiple datacenters. Servers 162 may be ofvarious types, such as, for example and without limitation, web server,news server, mail server, message server, advertising server, fileserver, application server, exchange server, database server, proxyserver, another server suitable for performing functions or processesdescribed herein, or any combination thereof. In particular embodiments,each server 162 may include hardware, software, or embedded logiccomponents or a combination of two or more such components for carryingout the appropriate functionalities implemented or supported by server162. In particular embodiments, social-networking system 160 may includeone or more data stores 164. Data stores 164 may be used to storevarious types of information. In particular embodiments, the informationstored in data stores 164 may be organized according to specific datastructures. In particular embodiments, each data store 164 may be arelational, columnar, correlation, or other suitable database. Althoughthis disclosure describes or illustrates particular types of databases,this disclosure contemplates any suitable types of databases. Particularembodiments may provide interfaces that enable a client system 130, asocial-networking system 160, or a third-party system 170 to manage,retrieve, modify, add, or delete, the information stored in data store164.

In particular embodiments, social-networking system 160 may store one ormore social graphs in one or more data stores 164. In particularembodiments, a social graph may include multiple nodes—which may includemultiple user nodes (each corresponding to a particular user) ormultiple concept nodes (each corresponding to a particular concept)—andmultiple edges connecting the nodes. Social-networking system 160 mayprovide users of the online social network the ability to communicateand interact with other users. In particular embodiments, users may jointhe online social network via social-networking system 160 and then addconnections (e.g., relationships) to a number of other users ofsocial-networking system 160 to whom they want to be connected. Herein,the term “friend” may refer to any other user of social-networkingsystem 160 with whom a user has formed a connection, association, orrelationship via social-networking system 160.

In particular embodiments, social-networking system 160 may provideusers with the ability to take actions on various types of items orobjects, supported by social-networking system 160. As an example andnot by way of limitation, the items and objects may include groups orsocial networks to which users of social-networking system 160 maybelong, events or calendar entries in which a user might be interested,computer-based applications that a user may use, transactions that allowusers to buy or sell items via the service, interactions withadvertisements that a user may perform, or other suitable items orobjects. A user may interact with anything that is capable of beingrepresented in social-networking system 160 or by an external system ofthird-party system 170, which is separate from social-networking system160 and coupled to social-networking system 160 via a network 110.

In particular embodiments, social-networking system 160 may be capableof linking a variety of entities. As an example and not by way oflimitation, social-networking system 160 may enable users to interactwith each other as well as receive content from third-party systems 170or other entities, or to allow users to interact with these entitiesthrough an application programming interfaces (API) or othercommunication channels.

In particular embodiments, a third-party system 170 may include one ormore types of servers, one or more data stores, one or more interfaces,including but not limited to APIs, one or more web services, one or morecontent sources, one or more networks, or any other suitable components,e.g., with which servers may communicate. A third-party system 170 maybe operated by a different entity from an entity operatingsocial-networking system 160. In particular embodiments, however,social-networking system 160 and third-party systems 170 may operate inconjunction with each other to provide social-networking services tousers of social-networking system 160 or third-party systems 170. Inthis sense, social-networking system 160 may provide a platform, orbackbone, which other systems, such as third-party systems 170, may useto provide social-networking services and functionality to users acrossthe Internet.

In particular embodiments, a third-party system 170 may include athird-party content object provider. A third-party content objectprovider may include one or more sources of content objects, which maybe communicated to a client system 130. As an example and not by way oflimitation, content objects may include information regarding things oractivities of interest to the user, such as, for example, movie showtimes, movie reviews, restaurant reviews, restaurant menus, productinformation and reviews, or other suitable information. As anotherexample and not by way of limitation, content objects may includeincentive content objects, such as coupons, discount tickets, giftcertificates, or other suitable incentive objects.

In particular embodiments, social-networking system 160 also includesuser-generated content objects, which may enhance a user's interactionswith social-networking system 160. User-generated content may includeanything a user can add, upload, send, or “post” to social-networkingsystem 160. As an example and not by way of limitation, a usercommunicates posts to social-networking system 160 from a client system130. Posts may include data such as status updates or other textualdata, location information, photos, videos, links, music or othersimilar data or media. Content may also be added to social-networkingsystem 160 by a third-party through a “communication channel,” such as anewsfeed or stream.

In particular embodiments, social-networking system 160 may include avariety of servers, sub-systems, programs, modules, logs, and datastores. In particular embodiments, social-networking system 160 mayinclude one or more of the following: a web server, action logger,API-request server, relevance-and-ranking engine, content-objectclassifier, notification controller, action log,third-party-content-object-exposure log, inference module,authorization/privacy server, search module, advertisement-targetingmodule, user-interface module, user-profile store, connection store,third-party content store, or location store. Social-networking system160 may also include suitable components such as network interfaces,security mechanisms, load balancers, failover servers,management-and-network-operations consoles, other suitable components,or any suitable combination thereof. In particular embodiments,social-networking system 160 may include one or more user-profile storesfor storing user profiles. A user profile may include, for example,biographic information, demographic information, behavioral information,social information, or other types of descriptive information, such aswork experience, educational history, hobbies or preferences, interests,affinities, or location. Interest information may include interestsrelated to one or more categories. Categories may be general orspecific. As an example and not by way of limitation, if a user “likes”an article about a brand of shoes the category may be the brand, or thegeneral category of “shoes” or “clothing.” A connection store may beused for storing connection information about users. The connectioninformation may indicate users who have similar or common workexperience, group memberships, hobbies, educational history, or are inany way related or share common attributes. The connection informationmay also include user-defined connections between different users andcontent (both internal and external). A web server may be used forlinking social-networking system 160 to one or more client systems 130or one or more third-party system 170 via network 110. The web servermay include a mail server or other messaging functionality for receivingand routing messages between social-networking system 160 and one ormore client systems 130. An API-request server may allow a third-partysystem 170 to access information from social-networking system 160 bycalling one or more APIs. An action logger may be used to receivecommunications from a web server about a user's actions on or offsocial-networking system 160. In conjunction with the action log, athird-party-content-object log may be maintained of user exposures tothird-party-content objects. A notification controller may provideinformation regarding content objects to a client system 130.Information may be pushed to a client system 130 as notifications, orinformation may be pulled from client system 130 responsive to a requestreceived from client system 130. Authorization servers may be used toenforce one or more privacy settings of the users of social-networkingsystem 160. A privacy setting of a user determines how particularinformation associated with a user can be shared. The authorizationserver may allow users to opt in to or opt out of having their actionslogged by social-networking system 160 or shared with other systems(e.g., third-party system 170), such as, for example, by settingappropriate privacy settings. Third-party-content-object stores may beused to store content objects received from third parties, such as athird-party system 170. Location stores may be used for storing locationinformation received from client systems 130 associated with users.Advertisement-pricing modules may combine social information, thecurrent time, location information, or other suitable information toprovide relevant advertisements, in the form of notifications, to auser.

Social Graphs

FIG. 2 illustrates example social graph 200. In particular embodiments,social-networking system 160 may store one or more social graphs 200 inone or more data stores. In particular embodiments, social graph 200 mayinclude multiple nodes—which may include multiple user nodes 202 ormultiple concept nodes 204—and multiple edges 206 connecting the nodes.Example social graph 200 illustrated in FIG. 2 is shown, for didacticpurposes, in a two-dimensional visual map representation. In particularembodiments, a social-networking system 160, client system 130, orthird-party system 170 may access social graph 200 and relatedsocial-graph information for suitable applications. The nodes and edgesof social graph 200 may be stored as data objects, for example, in adata store (such as a social-graph database). Such a data store mayinclude one or more searchable or queryable indexes of nodes or edges ofsocial graph 200.

In particular embodiments, a user node 202 may correspond to a user ofsocial-networking system 160. As an example and not by way oflimitation, a user may be an individual (human user), an entity (e.g.,an enterprise, business, or third-party application), or a group (e.g.,of individuals or entities) that interacts or communicates with or oversocial-networking system 160. In particular embodiments, when a userregisters for an account with social-networking system 160,social-networking system 160 may create a user node 202 corresponding tothe user, and store the user node 202 in one or more data stores. Usersand user nodes 202 described herein may, where appropriate, refer toregistered users and user nodes 202 associated with registered users. Inaddition or as an alternative, users and user nodes 202 described hereinmay, where appropriate, refer to users that have not registered withsocial-networking system 160. In particular embodiments, a user node 202may be associated with information provided by a user or informationgathered by various systems, including social-networking system 160. Asan example and not by way of limitation, a user may provide his or hername, profile picture, contact information, birth date, sex, maritalstatus, family status, employment, education background, preferences,interests, or other demographic information. In particular embodiments,a user node 202 may be associated with one or more data objectscorresponding to information associated with a user. In particularembodiments, a user node 202 may correspond to one or more webpages.

In particular embodiments, a concept node 204 may correspond to aconcept. As an example and not by way of limitation, a concept maycorrespond to a place (such as, for example, a movie theater,restaurant, landmark, or city); a website (such as, for example, awebsite associated with social-network system 160 or a third-partywebsite associated with a web-application server); an entity (such as,for example, a person, business, group, sports team, or celebrity); aresource (such as, for example, an audio file, video file, digitalphoto, text file, structured document, or application) which may belocated within social-networking system 160 or on an external server,such as a web-application server; real or intellectual property (suchas, for example, a sculpture, painting, movie, game, song, idea,photograph, or written work); a game; an activity; an idea or theory;another suitable concept; or two or more such concepts. A concept node204 may be associated with information of a concept provided by a useror information gathered by various systems, including social-networkingsystem 160. As an example and not by way of limitation, information of aconcept may include a name or a title; one or more images (e.g., animage of the cover page of a book); a location (e.g., an address or ageographical location); a website (which may be associated with a URL);contact information (e.g., a phone number or an email address); othersuitable concept information; or any suitable combination of suchinformation. In particular embodiments, a concept node 204 may beassociated with one or more data objects corresponding to informationassociated with concept node 204. In particular embodiments, a conceptnode 204 may correspond to one or more webpages.

In particular embodiments, a node in social graph 200 may represent orbe represented by a webpage (which may be referred to as a “profilepage”). Profile pages may be hosted by or accessible tosocial-networking system 160. Profile pages may also be hosted onthird-party websites associated with a third-party server 170. As anexample and not by way of limitation, a profile page corresponding to aparticular external webpage may be the particular external webpage andthe profile page may correspond to a particular concept node 204.Profile pages may be viewable by all or a selected subset of otherusers. As an example and not by way of limitation, a user node 202 mayhave a corresponding user-profile page in which the corresponding usermay add content, make declarations, or otherwise express himself orherself. As another example and not by way of limitation, a concept node204 may have a corresponding concept-profile page in which one or moreusers may add content, make declarations, or express themselves,particularly in relation to the concept corresponding to concept node204.

In particular embodiments, a concept node 204 may represent athird-party webpage or resource hosted by a third-party system 170. Thethird-party webpage or resource may include, among other elements,content, a selectable or other icon, or other inter-actable object(which may be implemented, for example, in JavaScript, AJAX, or PHPcodes) representing an action or activity. As an example and not by wayof limitation, a third-party webpage may include a selectable icon suchas “like,” “check-in,” “eat,” “recommend,” or another suitable action oractivity. A user viewing the third-party webpage may perform an actionby selecting one of the icons (e.g., “check-in”), causing a clientsystem 130 to send to social-networking system 160 a message indicatingthe user's action. In response to the message, social-networking system160 may create an edge (e.g., a check-in-type edge) between a user node202 corresponding to the user and a concept node 204 corresponding tothe third-party webpage or resource and store edge 206 in one or moredata stores.

In particular embodiments, a pair of nodes in social graph 200 may beconnected to each other by one or more edges 206. An edge 206 connectinga pair of nodes may represent a relationship between the pair of nodes.In particular embodiments, an edge 206 may include or represent one ormore data objects or attributes corresponding to the relationshipbetween a pair of nodes. As an example and not by way of limitation, afirst user may indicate that a second user is a “friend” of the firstuser. In response to this indication, social-networking system 160 maysend a “friend request” to the second user. If the second user confirmsthe “friend request,” social-networking system 160 may create an edge206 connecting the first user's user node 202 to the second user's usernode 202 in social graph 200 and store edge 206 as social-graphinformation in one or more of data stores 164. In the example of FIG. 2,social graph 200 includes an edge 206 indicating a friend relationbetween user nodes 202 of user “A” and user “B” and an edge indicating afriend relation between user nodes 202 of user “C” and user “B.”Although this disclosure describes or illustrates particular edges 206with particular attributes connecting particular user nodes 202, thisdisclosure contemplates any suitable edges 206 with any suitableattributes connecting user nodes 202. As an example and not by way oflimitation, an edge 206 may represent a friendship, family relationship,business or employment relationship, fan relationship (including, e.g.,liking, etc.), follower relationship, visitor relationship (including,e.g., accessing, viewing, checking-in, sharing, etc.), subscriberrelationship, superior/subordinate relationship, reciprocalrelationship, non-reciprocal relationship, another suitable type ofrelationship, or two or more such relationships. Moreover, although thisdisclosure generally describes nodes as being connected, this disclosurealso describes users or concepts as being connected. Herein, referencesto users or concepts being connected may, where appropriate, refer tothe nodes corresponding to those users or concepts being connected insocial graph 200 by one or more edges 206.

In particular embodiments, an edge 206 between a user node 202 and aconcept node 204 may represent a particular action or activity performedby a user associated with user node 202 toward a concept associated witha concept node 204. As an example and not by way of limitation, asillustrated in FIG. 2, a user may “like,” “attended,” “played,”“listened,” “cooked,” “worked at,” or “watched” a concept, each of whichmay correspond to an edge type or subtype. A concept-profile pagecorresponding to a concept node 204 may include, for example, aselectable “check in” icon (such as, for example, a clickable “check in”icon) or a selectable “add to favorites” icon. Similarly, after a userclicks these icons, social-networking system 160 may create a “favorite”edge or a “check in” edge in response to a user's action correspondingto a respective action. As another example and not by way of limitation,a user (user “C”) may listen to a particular song (“Imagine”) using aparticular application (SPOTIFY, which is an online music application).In this case, social-networking system 160 may create a “listened” edge206 and a “used” edge (as illustrated in FIG. 2) between user nodes 202corresponding to the user and concept nodes 204 corresponding to thesong and application to indicate that the user listened to the song andused the application. Moreover, social-networking system 160 may createa “played” edge 206 (as illustrated in FIG. 2) between concept nodes 204corresponding to the song and the application to indicate that theparticular song was played by the particular application. In this case,“played” edge 206 corresponds to an action performed by an externalapplication (SPOTIFY) on an external audio file (the song “Imagine”).Although this disclosure describes particular edges 206 with particularattributes connecting user nodes 202 and concept nodes 204, thisdisclosure contemplates any suitable edges 206 with any suitableattributes connecting user nodes 202 and concept nodes 204. Moreover,although this disclosure describes edges between a user node 202 and aconcept node 204 representing a single relationship, this disclosurecontemplates edges between a user node 202 and a concept node 204representing one or more relationships. As an example and not by way oflimitation, an edge 206 may represent both that a user likes and hasused at a particular concept. Alternatively, another edge 206 mayrepresent each type of relationship (or multiples of a singlerelationship) between a user node 202 and a concept node 204 (asillustrated in FIG. 2 between user node 202 for user “E” and conceptnode 204 for “SPOTIFY”).

In particular embodiments, social-networking system 160 may create anedge 206 between a user node 202 and a concept node 204 in social graph200. As an example and not by way of limitation, a user viewing aconcept-profile page (such as, for example, by using a web browser or aspecial-purpose application hosted by the user's client system 130) mayindicate that he or she likes the concept represented by the conceptnode 204 by clicking or selecting a “Like” icon, which may cause theuser's client system 130 to send to social-networking system 160 amessage indicating the user's liking of the concept associated with theconcept-profile page. In response to the message, social-networkingsystem 160 may create an edge 206 between user node 202 associated withthe user and concept node 204, as illustrated by “like” edge 206 betweenthe user and concept node 204. In particular embodiments,social-networking system 160 may store an edge 206 in one or more datastores. In particular embodiments, an edge 206 may be automaticallyformed by social-networking system 160 in response to a particular useraction. As an example and not by way of limitation, if a first useruploads a picture, watches a movie, or listens to a song, an edge 206may be formed between user node 202 corresponding to the first user andconcept nodes 204 corresponding to those concepts. Although thisdisclosure describes forming particular edges 206 in particular manners,this disclosure contemplates forming any suitable edges 206 in anysuitable manner.

Customized Notifications and Deep Links

FIG. 3 illustrates an example media-player device environment 300associated with a social-networking system 160. Media-player deviceenvironment 300 includes a media-player device 320, a display screen310, a client system 130, a social-networking system 160, and athird-party system 170, each connected to a network 110. Media-playerdevice 320 may be communicatively coupled to display screen 310 by awired or wireless connection. Client system 130 and social-networkingsystem 160 are shown as connected to each other by media-player device320. Although FIG. 3 illustrates a particular arrangement ofmedia-player device 320, display screen 310, client system 130,social-networking system 160, third-party system 170, and network 110,this disclosure contemplates any suitable arrangement of media-playerdevice 320, display screen 310, client system 130, social-networkingsystem 160, third-party system 170, and network 110. As an example andnot by way of limitation, client system 130 and social-networking system160 may be connected to each other directly, bypassing media-playerdevice 320 and network 110. As another example, media-player device 320and display screen 310 may be connected to each other via network 110.Although FIG. 3 illustrates one client system 130, any suitable numberof client systems 130 may be authenticated to media-player device 320.As described above, in connection with FIG. 1, links 150 may connectmedia-player device 320, display screen 310, client system 130,social-networking system 160, and third-party system 170 to network 110or to each other.

Particular embodiments facilitate deep linking between a user's clientsystem 130 and a media-device player 320 or other suitable systemsassociated with social-networking system 160. As used herein, amedia-player device 320 may be any device suitable for wirelesslycommunicating with any number of client systems proximate to themedia-player device 320. A media-player device 320 may becommunicatively-coupled, via a wireless or wired connection, to at leastone display screen and able to communicate wirelessly withsocial-networking system 160. A media-player device 320 may send andreceive wireless communications via, for example, radio-frequencyidentification, near-field communication, ultrasonic waves, BLUETOOTH(e.g., short-range radio frequencies), BLUETOOTH low energy, or anyother suitable wireless communication method, particularly short-rangewireless communication methods (e.g., less than approximately 300 feet).Media-player devices may be touch-sensitive so as to detect when a useror client system makes contact with the surface of the media-playerdevice and to authenticate a client system 130 to the media-playerdevice in response to the detected touch. Media-player devices may haveany of the hardware or software features of the types described in U.S.patent application Ser. No. 14/460,886, titled “Bluetooth Crowd-SourcedTriangulation,” filed 15 Aug. 2014; U.S. patent application Ser. No.14/460,880, titled “Bluetooth Transmission Security Pattern,” filed 15Aug. 2014; and U.S. patent application Ser. No. 14/460,891, titled“Bluetooth Beacon Protocol,” filed 15 Aug. 2014; U.S. patent applicationSer. No. 13/416,975, titled “Dynamic Processor Duty Cycle DeterminationBased on Geographic Positioning Signals,” filed 9 Mar. 2012; U.S. patentapplication Ser. No. 13/417,013, titled “Location Tracking forGeographic Positioning Capable Devices,” filed 9 Mar. 2012; and U.S.patent application Ser. No. 13/431,842, titled “Dynamic GeographicBeacons for Geographic Positioning Capable Devices,” filed 27 Mar. 2012,each of which is incorporated by reference herein. A media-player devicemay be able to communicate wirelessly with one or more third-partycontent providers. Third-party system 170 may be a system of athird-party content provider. Third-party content providers may be, forexample and not by way of limitation, owners and/or distributors ofmedia content (e.g., music and visual media content). When a user'sclient system 130 comes into range of a media-player device 320 (e.g., aclient system 130 may be in range of a media-player device if it is inrange of at least one antenna of the media-player device and can receivea signal from the at least one antenna) or makes contact with themedia-player device 320 (e.g., the user taps the media-player device 320with her client system 130), client system 130 may be authenticated tothe media-player device 320 based on wireless communications betweenclient system 130 and the media-player device 320, as described in U.S.patent application Ser. No. 14/836,206, titled “Authenticating Users toMedia-Player Devices on Online Social Networks,” filed 26 Aug. 2015,which is incorporated by reference herein.

In particular embodiments, the media-player device 320 may have anysuitable number of antennas (e.g., directional antennas) for sending andreceiving wireless communications. An application on a client system 130may be used to define a range of each of the antennas based on thestrength of signals received from the media-player device 320 antennasat client system 130. A media-player device 320 may have one or moreantennas, and each of the antennas may be tuned to define a range ofcoverage, as described in U.S. patent application Ser. No. 14/836,245,titled “User-Defined Coverage of Media-Player Devices on Online SocialNetworks,” filed 26 Aug. 2015, which is incorporated by referenceherein.

In particular embodiments, client system 130 may determine that it iswithin a threshold distance of (i.e., proximate to) one or moremedia-player devices 320. In particular embodiments, client system 130may determine that client system 130 is within a threshold distance ofone or more media-player devices 320 if client system 130 is within awireless range of the one or more media-player devices 320. Inparticular embodiments, application 330 running on client system 130 maydetermine that client system 130 is within a threshold distance of oneor more media-player devices 320. As an example and not by way oflimitation, application 330 may be a native application associated withsocial-networking system 160, and the user may be logged into thesocial-networking system 160. As an example and not by way oflimitation, application 330 running on client system 130 may determinethat client system 130 is connected to a local area network (LAN), thatmedia-player device 320 is also connected the LAN, and may thusdetermine that client system 130 is proximate to (i.e., within athreshold distance of) media-player device 320. As another example andnot by way of limitation, application 330 running on client system 130may determine that client system 130 is proximate to (i.e., within athreshold distance of) a media-player device 320 using BLUETOOTH. As anexample and not by way of limitation, the user may be logged intosocial-networking system 160 on his client system 160, andsocial-networking system 160 may determine, via an applicationassociated with social-networking system 160 that is running on clientsystem 130, that the user is proximate to one or more media devices(e.g., using Wi-Fi or BLUETOOTH detection techniques). It will beunderstood that client system 130 may use any suitable technique fordetermining that it is within a threshold distance of a media-playerdevice 320, including any other suitable technique for scanning devicesor applications connected to the same network as client system 130. Onceclient system 130 has determined that it is proximate to a media-playerdevice 320, client system 130 may then send an indication tosocial-networking system 160. The indication may specify that clientsystem 130 is proximate to the media-player device 320. In particularembodiments, application 330 running on client system 130 may send theindication to social-networking system 160. The indication may includeinformation regarding the particular media-player device 320. As anexample and not by way of limitation, when client system 130 detectsthat it is proximate to media-player device 320, client system 130 maydetect the serial number, device ID, or other suitable unique identifierof media-player device 320, a type of media-player device 320 (e.g.,APPLE TV, SKYSTREAM TV box, or any other suitable indication of the typeof media-player device 320), capabilities of media-player device 320(e.g., High-Definition Multimedia Interface (HDMI) and/or Infraredcompatibility), any other suitable information associated with themedia-player device 320, or any combination thereof. Client system 130may then send the media-player device information to social-networkingsystem 160 (e.g., as part of the indication). The media-player deviceinformation may allow client system 130, social-networking system 160,or both to determine at least one third-party system 170 (e.g., athird-party content provider) that is associated with the media-playerdevice 320. The particular one or more third-party systems 170associated with a media-player device 320 may depend on one or moresubscriptions of a user (e.g., a media-content subscription with athird-party system 170). As an example and not by way of limitation, auser may have APPLE TV with subscriptions to HBO and SHOWTIME.Third-party systems 170 may be content providers (e.g., APPLE, HBO, andSHOWTIME). In the same example, social-networking system 160 maydetermine, in response to receiving the indication and the media-playerdevice information that the media-player device 320 is associated withthird-party systems 170 that include APPLE, HBO, SHOWTIME, or anycombination thereof.

In particular embodiments, social-networking system 160 may accesscontent information associated with one or more media-content items.Media-content items may include, as an example and not by way oflimitation, audiovisual content, video content, audio content, images,any other suitable media content, or any combination thereof.Media-content items may be, as an example and not by way of limitation,retrieved by media-player device 320 from one or more third-partysystems 170 or from social-networking system 160, or generated orpublished to social-networking system 160 by one or more users ofsocial-networking system 160. In particular embodiments,social-networking system 160 may access content information associatedwith one or more media-content items in response to receiving theindication that client system 130 is proximate to one or moremedia-player devices 320. Content information for a media-content itemmay include, as an example and not by way of limitation, backgroundinformation for the media-content item (e.g., summary, genre, setting,rating, reviews, cast information, date of release, and any othersuitable background information), a schedule of when the media-contentitem will be aired, streamed, or otherwise made available to the user,deep link information for accessing the media-content item, any othersuitable background information for the respective media-content item.In particular embodiments, social-networking system 160 may accesscontent information only for media-content items that the user hasaccess to (e.g., the user has an active subscription that covers themedia-content items). That is, each of the one or more media-contentitems may be accessible to the user at media-player device 320. Inparticular embodiments, social-networking system 160 may query one ormore third-party systems 170 using identifying information associatedwith media-player device 320 in order to determine media-content itemsthat are available on that particular media-player device 320 (e.g.,television show episodes currently playing, movies available on-demandbased on the subscription associated with a device ID of themedia-player device 320, or any other suitable media-content items). Inparticular embodiments, social-networking system 160 may retrievecontent information for a media-content item from the third-party system170 associated with the particular media-content item (e.g., athird-party system 170 that is a third-party content provider for theparticular media-content item). As an example and not by way oflimitation, social-networking system 160 may send a request to athird-party system 170 for content information for one or moremedia-content items, and the request may include background informationreceived from media-player device 320 (e.g., media-player device 320device ID, subscription information, or any other suitable information),social-networking information (e.g., user-subscription informationstored in the user's profile, user identification, or any other suitablesocial-networking information), or both. As an example and not by way oflimitation, social-networking system 160 may determine that a user mayhave active subscriptions with HBO and SHOWTIME (e.g., based oninformation retrieved from media-player device 320), andsocial-networking system 160 may retrieve content information for GAMEOF THRONES (i.e., a media-content item associated with HBO) and HOMELAND(i.e., a media-content item associated with SHOWTIME) from HBO andSHOWTIME (i.e., third-party systems 170). As another example and not byway of limitation, media-player device 320 may be an APPLE TV device,and social-networking system 160 may retrieve the content informationfor GAME OF THRONES and HOMELAND from the third-party system 170associated with APPLE. In particular embodiments, social-networkingsystem 160 may access content information for media-content items thatthe user does not currently have access to (e.g., the user does not havean active subscription covering the media-content items) but that theuser could purchase access to (e.g., as part of a subscription plan oron an item-by-item basis) or access as part of a promotional offer.

In particular embodiments, social-networking system 160 may accesssocial-networking information of the user (i.e., the user associatedwith the client system 130 that is proximate to one or more media-playerdevices 320). Social-networking system 160 may access social-networkinginformation of the user in response to the indication received fromclient system 130 and the accessed content information of the one ormore media-content items. Social-networking information of a user mayinclude, as an example and not by way of limitation, demographicinformation (e.g., age, gender, nationality, race, ethnicity, andlocality), biographic information (e.g., name, picture, birthday, andastrological sign), preferences (e.g., music, book, movie, and foodpreferences), affinity information (e.g., information regarding entitiesfor which the user has expressed affinity), watch-history information(e.g., content watched or otherwise interacted with by the user),advertisement information (e.g., advertisements shown and advertisementsconversions), payment credentials, purchase history, loyalty points orcredits, social-graph information (e.g., social connections within athreshold degree of separation in social graph 200 and social-networkinginformation of those connections), any other information stored in aprofile of the user on social-networking system 160, any other suitableinformation pertaining to the user, or any combination thereof, subjectto privacy preferences of the user or other restrictions imposed bysocial-networking system 160. As an example and not by way oflimitation, social-networking information of a first user may includeaffinity information for one or more other users who are connected tothe first user of client system 130 in social graph 200 by a thresholddegree of separation (e.g., first-degree connections may be “friends” ofthe first user). The affinity information may include, for each user, asan example and not by way of limitation, one or more entities (e.g.,people, places, topics, television shows, bands, or any other suitableentities) for which the respective user has expressed affinity (e.g., by“liking” a page associated with the entity on social-networking system160). As another example and not by way of limitation, social-networkinginformation of the user may include information regarding what one ormore other users are currently watching, where the other users areconnected to the user of client system 130 in social graph 200 by athreshold degree of separation (e.g., first-degree connections). Inparticular embodiments, social-networking system 160 may access locationinformation of the client system 130. As an example and not by way oflimitation, social-networking system 160 may receive, from client system130, location information of client system 130. Location information mayinclude, as an example and not by way of limitation, locationinformation determined using GPS functionality or any other suitablegeographic-positioning functionality. As another example and not by wayof limitation, location information may be determined bysocial-networking system 160 based on social-networking actions taken bythe user (e.g., the user checked-in at a page or event associated with aplace at which the media-player is located).

In particular embodiments, social-networking system 160 may select amedia-content item from the one or more media-content items for whichsocial-networking system 160 accessed associated content information. Asan example and not by way of limitation, the selected media-content itemmay be a television show episode, a movie, a song, a video clip, anyother suitable media content, or any combination thereof.Social-networking system 160 may select the media-content item based onthe content information and on the social-networking information of theuser. As an example and not by way of limitation, social-networkingsystem 160 may select a media-content item (e.g., a murder-mysterytelevision episode) that it predicts may be of interest to the userbased on the content information that includes scheduling informationfor the media-content item (e.g., the media-content item is a televisionepisode that is about to be broadcast by a third-party system 160 towhich the user subscribes) and on social-networking information of theuser that includes an indication that the user has expressed or maypotentially have an affinity for the subject matter of the televisionepisode (e.g., the user has “liked” pages for other murder-mystery mediacontent and has indicated that she read or “liked” a book on which thetelevision series is based). In particular embodiments,social-networking system 160 may select the media-content item basedadditionally on location information of the client system 130.Social-networking system 160 may select a particular media-content itemfor the user based on what other users in the user's location arecurrently watching or may be interested in watching. As an example andnot by way of limitation, social-networking system 160 may select aWarriors basketball game (i.e., media-content item) based on the user'sexpressed interest in sports (e.g., the user has “liked” a page forsports) and on the user's location information indicating that the userresides in Oakland, Calif. In particular embodiments, social-networkingsystem 160 may select more than one media-content item from the one ormore media-content items for which social-networking system 160 accessedassociated content information. In particular embodiments,social-networking system 160 may select one or more media-content itemsas described in U.S. patent application Ser. No. 14/836,300, titled“Customizing Media Content on Online Social Networks,” filed 26 Aug.2015, which is incorporated by reference herein. In particularembodiments, social-networking system 160 may also identifymedia-content items based on the social-networking information ofmultiple users. As an example and not by way of limitation, a seconduser's client system may also be proximate to a media-player device 320,and the user may be logged into social-networking system 160 via anapplication 330 running on his client system 130. Social-networkingsystem 160 may receive an indication from the second user's clientsystem 130 that it is proximate to the same media-player device 320 thatthe first user's client system is proximate to. Social-networking system160 may then select a particular movie (i.e., a media-content item)based on, as an example and not by way of limitation, communicationsbetween the users on social-networking system 160 indicating an expressinterest in viewing the particular movie. In particular embodiments,social-networking system 160 may analyze the social-networkinginformation of one or more users who social-networking system 160 knowsare proximate to media-player device 320 (e.g., via indications receivedfrom the users' client systems 130) to determine commonalities betweenthe one or more of the users. As an example and not by way oflimitation, social-networking system 160 may determine thatsocial-networking information of each of the users indicates that theeach has expressed an affinity for a particular television program, anda new episode recently became available for this television program.Social-networking system 160 may then select the new episode of thetelevision program. Social-networking system 160 may select amedia-content item based on commonalities in social-networkinginformation of a subset of the audience (i.e., fewer than all of theusers present). As another example and not by way of limitation,social-networking information of two out of three users that areproximate to media-player device 320 may indicate that the two usershave frequently watched a particular spy drama show, andsocial-networking system 160 may then select the spy drama show.

In particular embodiments, social-networking system 160 may send acustomized notification to the client system, and the customizednotification may include a reference to the selected media-content itemand a deep link to the media-player device 320 to which the clientsystem 130 is proximate. Social-networking system 160 may generate thedeep link specifically for the media-player device 320 that it hasdetermined to be proximate to user client system 130. Social-networkingsystem 160 may generate the deep link based on the backgroundinformation of the media-player device 320 (e.g., based on thecapabilities of the media-player device 320). As an example and not byway of limitation, media-player device 320 may have HDMI capability, andsocial-networking system 160 may include in the deep link, instructionsto power on the media-player device 320, an attached display screen 310,or both, based on the HDMI capability. Social-networking system 160 maygenerate the deep link based on the content information for the selectedmedia-content item (e.g., based on the time it will be airing and thethird-party content provider application or channel on which it will beairing). Social-networking system 160 may send a customized notificationwith the deep link to client system 130 of the user. The deep link maybe presented to the user (i.e., in the customized notification) at aninterface of client system 130 as a selectable element (e.g., a “watchnow” button). The deep link may include instructions for accessing theselected media-content item via the media-player device 320. Whenselected (e.g., by user input at an interface of client system 130), thedeep link may cause client system 130 to send the instructions tomedia-player device 320. The instructions may include, as an example andnot by way of limitation, an instruction to power on media-player device320, a connected display screen 310, or both. The instructions mayinclude, as an example and not by way of limitation, an instruction toturn the media-display device 320 to a particular channel or to activatean application running on media-display device 320 and to instruct it todisplay the selected media-content item. As an example and not by way oflimitation, a user may select a “watch now” button in notificationregarding a selected media-content item (i.e., a deep link in acustomized notification) on the user's client system 130, and the clientsystem 130 may, in response to the selection of the “watch now” buttonsend instructions to a proximate media-player device 320 to power on andload the selected media-content item for display to the viewer atmedia-player device 320 or a connected display screen 310. In particularembodiments, the deep link may have functionality of the type describedin U.S. patent application Ser. No. 14/923,095, titled “Search Indicesfor Social Plug-ins” filed Oct. 26, 2015; U.S. patent application Ser.No. 14/923,150, titled “Search Indices for Social Plug-ins” filed Oct.26, 2015; U.S. patent application Ser. No. 14/923,191, titled “Searchingfor Application Content with Social Plug-ins” filed Oct. 26, 2015; and“U.S. patent application Ser. No. 15/210,718, titled “Deep Linking toMedia-Player Devices” filed Jul. 14, 2016, which are incorporated hereinby reference.

Although this disclosure describes and illustrates particularembodiments of FIG. 3 as being implemented by social-networking system160, this disclosure contemplates any suitable embodiments of FIG. 3occurring on any suitable interface and as being implemented by anysuitable platform or system. As an example, and not by way oflimitation, particular embodiments of FIG. 3 may be implemented byclient system 130, third-party system 170, or media-player device 320.Furthermore, although this disclosure describes and illustratesparticular components, devices, or systems carrying out particular stepsof the method of FIG. 3, this disclosure contemplates any suitablecombination of any suitable components, devices, or systems carrying outany suitable steps of the method of FIG. 3.

FIG. 4A illustrates an example view of a notification 420 and a deeplink 410 on a client system 130. In particular embodiments,social-networking system 160 may generate and send a customizednotification 420 and deep link 410 to client system 130 for display to auser. In the illustrated example of FIG. 4A, notification 420 isdisplayed in a feed 430 of an application 330 running on client system130. Application 330 may be a native application associated withsocial-networking system 160. In particular embodiments, notification420 may include a reference to the selected media content item. As anexample and not by way of limitation, a notification 420 may include avisual description of the selected media-content item, a textualdescription of the selected media-content item, or both. In theillustrated example of FIG. 4A, the selected media-content item isepisode 1 of a television program called DOG, and notification 420includes both a visual reference (i.e., an image of a dog eating adonut, which is associated with episode 1) and a textual reference(i.e., the name of the show, DOG, and the particular episode selectedare both identified in the text of the deep link 410). In particularembodiments, notification 420 may be an advertisement. Deep link 410 isdepicted in FIG. 4A as an interactive element that reads “Watch DOGEpisode 1 Now!” The user may interact with (i.e., select) deep link 410at client system 130. When a selection is received, application 330 maycause client system 130 to send the instructions associated with thedeep link 410 to media-player device 320. The instructions may betransmitted using any suitable technique, including, as an example andnot by way of limitation, over a Wi-Fi connection if client system 130and media-player device 320 are connected to the same Wi-Fi network orvia BLUETOOTH.

The instructions sent by client system 130 and received by media-playerdevice 320 may be instructions for accessing the selected media-contentitem via the media-player device 320. In particular embodiments,media-player device 320 may retrieve the selected media-content item(i.e., the selected media-content item associated with the deep link410) in response to receiving the instructions. As an example and not byway of limitation, media-player device 320 may retrieve the selectedmedia-content item from a third-party system 170 that is the contentprovider for the selected media-content item. As another example and notby way of limitation, the selected media-content item may be storedlocally at media-player device 320, and media-player device 320 mayaccess the locally-stored media-content item in response to receivingthe instructions from client system 130. As another example and not byway of limitation, the selected media-content item may be broadcast on aparticular channel, and media-player device 320 may tune to theparticular channel in order to access the selected media-content item.In particular embodiments, media-player device 320 may present theselected media-content item to the user in response to the instructionsreceived from the client system 130. As an example and not by way oflimitation, media-player device 320 may access a selected media-contentitem and present the media-content item for display on display screen310. In particular embodiments, media-player device 320 may include adisplay screen 310 (i.e., integrated into the hardware of themedia-player device 320). In particular embodiments, deep link 410 mayinclude instructions for media-player device 320 to access and presentthe selected media-content item at a particular time. As an example andnot by way of limitation, social-networking system 160 may determine,based on content information of the selected media-content item, thatthe selected media-content item will be aired in 5 minutes.Social-networking system 160 may send the notification 420 to the user'sclient system 130, and the deep link may read “Watch in 5 minutes.” Whenthe user selects the deep link, deep link 410 may cause client system130 to send the instructions after five minutes have passed or clientsystem 130 may send the instructions to media-player device 320 as soonas the selection is received, and the instructions may causemedia-player device 320 to present the selected media-content item tothe user after five minutes have passed.

In particular embodiments, a user and his client system 130 may beproximate to (e.g., within a wireless range of or connected to the sameWi-Fi network as) more than one media-player device 320. In thissituation, application 330 on client system 130 may determine (e.g., viaindications received from each media-player device 320) the proximatemedia-player devices 320 and may generate a list of proximatemedia-player devices 320. Application 330 may present the list ofproximate media-player devices 320 to the user at client system 130 inresponse to the user selecting deep link 410. Client system 130 maydetermine which of the proximate media-player devices 320 is closest tothe client system 130 using, as an example and not by way of limitation,BLUETOOTH, and client system 130 may present the closes media-playerdevice 320 to the user as a preferred media-player device 320 (e.g., inthe list of proximate media-player devices 320). The user may select themedia-player device 320 that he wishes the deep link to connect to(e.g., the user may wish to watch the media-content item in the livingroom and may select an APPLE TV device located in the living room).Client system 130 may then send the instructions associated with thedeep link to the selected media-player device 320.

FIG. 4B illustrates an example view of a push notification 440 and deeplink 410 on a client system 130. In particular embodiments,social-networking system 160 may generate and send a push notification440 and deep link 410 to client system 130 for display to a user. In theillustrated example of FIG. 4B, push notification 440 is displayed asoverlaying a feed 430 of an application 330 running on client system130. As an example and not by way of limitation, push notification 440may be a push notification provided on a lock screen of client system130 or hovering over any suitable screen of client system 130. Asanother example and not by way of limitation, prompt 410 may be a typeof reaction card, which may be presented to a user in response to atrigger action, of the type described in U.S. patent application Ser.No. 14/466,269, titled “Generating Cards in Response to User Actions onOnline Social Networks” filed 22 Aug. 2014, which is incorporated hereinby reference. In particular embodiments, a user may specify, insettings, whether or not and how a push notification 440 may bedisplayed.

Although this disclosure describes and illustrates particularembodiments of FIGS. 4A and 4B as being implemented by social-networkingsystem 160, this disclosure contemplates any suitable embodiments ofFIGS. 4A and 4B occurring on any suitable interface and as beingimplemented by any suitable platform or system. As an example, and notby way of limitation, particular embodiments of FIGS. 4A and 4B may beimplemented by client system 130, third-party system 170, ormedia-player device 320. Furthermore, although this disclosure describesand illustrates particular components, devices, or systems carrying outparticular steps of the method of FIGS. 4A and 4B, this disclosurecontemplates any suitable combination of any suitable components,devices, or systems carrying out any suitable steps of the method ofFIGS. 4A and 4B.

FIG. 5 illustrates an example view of a deep link 410 in a messagingapplication 510 on a client system 130. In particular embodiments, anotification and deep link 410 may be sent by a first user one or moresecond users over a messaging application. In the illustrated example ofFIG. 5, two users are having a conversation, and the first user sends anotification to the second user, John, encouraging him to watch GAME OFTHRONES, Season 6, Episode 10. In particular embodiments, a user maysend a request for a media-content item via client system 130 tosocial-networking system 160. As an example and not by way oflimitation, the user may access a list of available media-content itemson his client system 130 or media-player device 320, and the user mayselect an option for requesting for the entire media-content item or aselected clip of the media-content item. Social-networking system 160may generate a notification and deep link 410 and send the notificationand deep link 410 to the client system 130 in response to the receivedrequest. In particular embodiments, the user may then utilize the deeplink (i.e., select the deep link 410, which may be sent to a proximatemedia-player device 320 for presentation of the media-content item tothe user). In particular embodiments, the user may send the notificationand deep link 410 to one or more other users via, as an example and notby way of limitation, a messaging application 510, email, text message,or any other suitable technique for communicating notification and deeplink 410 to one or more other users. A recipient user may then selectthe deep link 410 in an application 330 on his client system 130.Application 330 may then detect a proximate media-player device 320 tothe recipient user's client system and send the deep link 410instructions to the proximate media-player device 320 for presentationof the media-content item, which was selected by the sending user, tothe recipient user. In particular embodiments, the media-player device320 of the recipient user may only be able to present the sharedmedia-content item if it is accessible to the recipient user (e.g., viaan active subscription with the associated third-party system 170). Inparticular embodiments, media-player device 320 may be able to presentthe shared media-content item to the user even if it is not normallyaccessible to the recipient user (e.g., the sending user's subscriptionplan may permit a predetermined number of deep links 410 to be sharedwith other users to view the media-content item on a demo basis).

Although this disclosure describes and illustrates particularembodiments of FIG. 5 as being implemented by social-networking system160, this disclosure contemplates any suitable embodiments of FIG. 5occurring on any suitable interface and as being implemented by anysuitable platform or system. As an example, and not by way oflimitation, particular embodiments of FIG. 5 may be implemented byclient system 130, third-party system 170, or media-player device 320.Furthermore, although this disclosure describes and illustratesparticular components, devices, or systems carrying out particular stepsof the method of FIG. 5, this disclosure contemplates any suitablecombination of any suitable components, devices, or systems carrying outany suitable steps of the method of FIG. 5.

FIG. 6 illustrates an example method for sending customizednotifications to a client system 130. The method may begin at step 610,where social-networking system 160 may receive, from a first clientsystem 130 of a first user of an online social network, an indicationthat a media-player device 320 is proximate to the first client system130. At step 620, social-networking system 160 may access contentinformation associated with one or more media-content items. The one ormore media-content items may be accessible to the first user via themedia-player device 320. At step 630, social-networking system 160 mayaccess, responsive to the received indication and content information,social-networking information of the first user. At step 640,social-networking system 160 may select a media-content item of the oneor more media-content items based on the content information and thesocial-networking information of the first user. At step 650,social-networking system 160 may send a customized notification to thefirst client system 130. The customized notification may include areference to the selected media-content item and a deep link to themedia-player device 320. The deep link may be selectable by the firstuser, and the deep link may include instructions for accessing theselected media-content item via the media-player device 320.

Although this disclosure describes and illustrates particular steps ofthe method of FIG. 6 as occurring in a particular order, this disclosurecontemplates any suitable steps of the method of FIG. 6 occurring in anysuitable order. Moreover, although this disclosure describes andillustrates an example method for sending customized notifications to aclient system 130 including the particular steps of the method of FIG.6, this disclosure contemplates any suitable method for sendingcustomized notifications to a client system 130 including any suitablesteps, which may include all, some, or none of the steps of the methodof FIG. 6, where appropriate. Furthermore, although this disclosuredescribes and illustrates particular components, devices, or systemscarrying out particular steps of the method of FIG. 6, this disclosurecontemplates any suitable combination of any suitable components,devices, or systems carrying out any suitable steps of the method ofFIG. 6. As an example and not by way of limitation, the particular stepsof the method of FIG. 6 may be performed by client system 130,third-party system 170, or media-player device 320.

FIG. 7 illustrates an example method for accessing a media-content itemvia media-player device 320 using a deep link on a client system 130.The method may begin at step 710, where a client system 130 of a user ofan online social network may receive, at an interface of the clientsystem 130, a user input selecting a deep link. The deep link mayinclude instructions for accessing a media-content item via amedia-player device 320. The deep link may be selected by the user froma notification from the online social network referencing themedia-content item. The media-player device 320 may be proximate to theclient system 130. At step 720, the client system 130 may send, to themedia-player device 320, in response to the selection of the deep link,instructions for accessing the selected media-content item via themedia-player device 320.

Although this disclosure describes and illustrates particular steps ofthe method of FIG. 7 as occurring in a particular order, this disclosurecontemplates any suitable steps of the method of FIG. 7 occurring in anysuitable order. Moreover, although this disclosure describes andillustrates an example method for accessing a media-content item viamedia-player device 320 using a deep link on a client system 130including the particular steps of the method of FIG. 7, this disclosurecontemplates any suitable method for accessing a media-content item viamedia-player device 320 using a deep link on a client system 130including any suitable steps, which may include all, some, or none ofthe steps of the method of FIG. 7, where appropriate. Furthermore,although this disclosure describes and illustrates particularcomponents, devices, or systems carrying out particular steps of themethod of FIG. 7, this disclosure contemplates any suitable combinationof any suitable components, devices, or systems carrying out anysuitable steps of the method of FIG. 7. As an example and not by way oflimitation, the particular steps of the method of FIG. 7 may beperformed by social-networking system 160, third-party system 170, ormedia-player device 320.

Social Graph Affinity and Coefficient

In particular embodiments, social-networking system 160 may determinethe social-graph affinity (which may be referred to herein as“affinity”) of various social-graph entities for each other. Affinitymay represent the strength of a relationship or level of interestbetween particular objects associated with the online social network,such as users, concepts, content, actions, advertisements, other objectsassociated with the online social network, or any suitable combinationthereof. Affinity may also be determined with respect to objectsassociated with third-party systems 170 or other suitable systems. Anoverall affinity for a social-graph entity for each user, subjectmatter, or type of content may be established. The overall affinity maychange based on continued monitoring of the actions or relationshipsassociated with the social-graph entity. Although this disclosuredescribes determining particular affinities in a particular manner, thisdisclosure contemplates determining any suitable affinities in anysuitable manner.

In particular embodiments, social-networking system 160 may measure orquantify social-graph affinity using an affinity coefficient (which maybe referred to herein as “coefficient”). The coefficient may representor quantify the strength of a relationship between particular objectsassociated with the online social network. The coefficient may alsorepresent a probability or function that measures a predictedprobability that a user will perform a particular action based on theuser's interest in the action. In this way, a user's future actions maybe predicted based on the user's prior actions, where the coefficientmay be calculated at least in part a the history of the user's actions.Coefficients may be used to predict any number of actions, which may bewithin or outside of the online social network. As an example and not byway of limitation, these actions may include various types ofcommunications, such as sending messages, posting content, or commentingon content; various types of observation actions, such as accessing orviewing profile pages, media, or other suitable content; various typesof coincidence information about two or more social-graph entities, suchas being in the same group, tagged in the same photograph, checked-in atthe same location, or attending the same event; or other suitableactions. Although this disclosure describes measuring affinity in aparticular manner, this disclosure contemplates measuring affinity inany suitable manner.

In particular embodiments, social-networking system 160 may use avariety of factors to calculate a coefficient. These factors mayinclude, for example, user actions, types of relationships betweenobjects, location information, other suitable factors, or anycombination thereof. In particular embodiments, different factors may beweighted differently when calculating the coefficient. The weights foreach factor may be static or the weights may change according to, forexample, the user, the type of relationship, the type of action, theuser's location, and so forth. Ratings for the factors may be combinedaccording to their weights to determine an overall coefficient for theuser. As an example and not by way of limitation, particular useractions may be assigned both a rating and a weight while a relationshipassociated with the particular user action is assigned a rating and acorrelating weight (e.g., so the weights total 100%). To calculate thecoefficient of a user towards a particular object, the rating assignedto the user's actions may comprise, for example, 60% of the overallcoefficient, while the relationship between the user and the object maycomprise 40% of the overall coefficient. In particular embodiments, thesocial-networking system 160 may consider a variety of variables whendetermining weights for various factors used to calculate a coefficient,such as, for example, the time since information was accessed, decayfactors, frequency of access, relationship to information orrelationship to the object about which information was accessed,relationship to social-graph entities connected to the object, short- orlong-term averages of user actions, user feedback, other suitablevariables, or any combination thereof. As an example and not by way oflimitation, a coefficient may include a decay factor that causes thestrength of the signal provided by particular actions to decay withtime, such that more recent actions are more relevant when calculatingthe coefficient. The ratings and weights may be continuously updatedbased on continued tracking of the actions upon which the coefficient isbased. Any type of process or algorithm may be employed for assigning,combining, averaging, and so forth the ratings for each factor and theweights assigned to the factors. In particular embodiments,social-networking system 160 may determine coefficients usingmachine-learning algorithms trained on historical actions and past userresponses, or data farmed from users by exposing them to various optionsand measuring responses. Although this disclosure describes calculatingcoefficients in a particular manner, this disclosure contemplatescalculating coefficients in any suitable manner.

In particular embodiments, social-networking system 160 may calculate acoefficient based on a user's actions. Social-networking system 160 maymonitor such actions on the online social network, on a third-partysystem 170, on other suitable systems, or any combination thereof. Anysuitable type of user actions may be tracked or monitored. Typical useractions include viewing profile pages, creating or posting content,interacting with content, tagging or being tagged in images, joininggroups, listing and confirming attendance at events, checking-in atlocations, liking particular pages, creating pages, and performing othertasks that facilitate social action. In particular embodiments,social-networking system 160 may calculate a coefficient based on theuser's actions with particular types of content. The content may beassociated with the online social network, a third-party system 170, oranother suitable system. The content may include users, profile pages,posts, news stories, headlines, instant messages, chat roomconversations, emails, advertisements, pictures, video, music, othersuitable objects, or any combination thereof. Social-networking system160 may analyze a user's actions to determine whether one or more of theactions indicate an affinity for subject matter, content, other users,and so forth. As an example and not by way of limitation, if a user maymake frequently posts content related to “coffee” or variants thereof,social-networking system 160 may determine the user has a highcoefficient with respect to the concept “coffee.” Particular actions ortypes of actions may be assigned a higher weight and/or rating thanother actions, which may affect the overall calculated coefficient. Asan example and not by way of limitation, if a first user emails a seconduser, the weight or the rating for the action may be higher than if thefirst user simply views the user-profile page for the second user.

In particular embodiments, social-networking system 160 may calculate acoefficient based on the type of relationship between particularobjects. Referencing the social graph 200, social-networking system 160may analyze the number and/or type of edges 206 connecting particularuser nodes 202 and concept nodes 204 when calculating a coefficient. Asan example and not by way of limitation, user nodes 202 that areconnected by a spouse-type edge (representing that the two users aremarried) may be assigned a higher coefficient than a user nodes 202 thatare connected by a friend-type edge. In other words, depending upon theweights assigned to the actions and relationships for the particularuser, the overall affinity may be determined to be higher for contentabout the user's spouse than for content about the user's friend. Inparticular embodiments, the relationships a user has with another objectmay affect the weights and/or the ratings of the user's actions withrespect to calculating the coefficient for that object. As an exampleand not by way of limitation, if a user is tagged in first photo, butmerely likes a second photo, social-networking system 160 may determinethat the user has a higher coefficient with respect to the first photothan the second photo because having a tagged-in-type relationship withcontent may be assigned a higher weight and/or rating than having alike-type relationship with content. In particular embodiments,social-networking system 160 may calculate a coefficient for a firstuser based on the relationship one or more second users have with aparticular object. In other words, the connections and coefficientsother users have with an object may affect the first user's coefficientfor the object. As an example and not by way of limitation, if a firstuser is connected to or has a high coefficient for one or more secondusers, and those second users are connected to or have a highcoefficient for a particular object, social-networking system 160 maydetermine that the first user should also have a relatively highcoefficient for the particular object. In particular embodiments, thecoefficient may be based on the degree of separation between particularobjects. The lower coefficient may represent the decreasing likelihoodthat the first user will share an interest in content objects of theuser that is indirectly connected to the first user in the social graph200. As an example and not by way of limitation, social-graph entitiesthat are closer in the social graph 200 (i.e., fewer degrees ofseparation) may have a higher coefficient than entities that are furtherapart in the social graph 200.

In particular embodiments, social-networking system 160 may calculate acoefficient based on location information. Objects that aregeographically closer to each other may be considered to be more relatedor of more interest to each other than more distant objects. Inparticular embodiments, the coefficient of a user towards a particularobject may be based on the proximity of the object's location to acurrent location associated with the user (or the location of a clientsystem 130 of the user). A first user may be more interested in otherusers or concepts that are closer to the first user. As an example andnot by way of limitation, if a user is one mile from an airport and twomiles from a gas station, social-networking system 160 may determinethat the user has a higher coefficient for the airport than the gasstation based on the proximity of the airport to the user.

In particular embodiments, social-networking system 160 may performparticular actions with respect to a user based on coefficientinformation. Coefficients may be used to predict whether a user willperform a particular action based on the user's interest in the action.A coefficient may be used when generating or presenting any type ofobjects to a user, such as advertisements, search results, news stories,media, messages, notifications, or other suitable objects. Thecoefficient may also be utilized to rank and order such objects, asappropriate. In this way, social-networking system 160 may provideinformation that is relevant to user's interests and currentcircumstances, increasing the likelihood that they will find suchinformation of interest. In particular embodiments, social-networkingsystem 160 may generate content based on coefficient information.Content objects may be provided or selected based on coefficientsspecific to a user. As an example and not by way of limitation, thecoefficient may be used to generate media for the user, where the usermay be presented with media for which the user has a high overallcoefficient with respect to the media object. As another example and notby way of limitation, the coefficient may be used to generateadvertisements for the user, where the user may be presented withadvertisements for which the user has a high overall coefficient withrespect to the advertised object. In particular embodiments,social-networking system 160 may generate search results based oncoefficient information. Search results for a particular user may bescored or ranked based on the coefficient associated with the searchresults with respect to the first querying user. As an example and notby way of limitation, search results corresponding to objects withhigher coefficients may be ranked higher on a search-results page thanresults corresponding to objects having lower coefficients.

In particular embodiments, social-networking system 160 may calculate acoefficient in response to a request for a coefficient from a particularsystem or process. To predict the likely actions a user may take (or maybe the subject of) in a given situation, any process may request acalculated coefficient for a user. The request may also include a set ofweights to use for various factors used to calculate the coefficient.This request may come from a process running on the online socialnetwork, from a third-party system 170 (e.g., via an API or othercommunication channel), or from another suitable system. In response tothe request, social-networking system 160 may calculate the coefficient(or access the coefficient information if it has previously beencalculated and stored). In particular embodiments, social-networkingsystem 160 may measure an affinity with respect to a particular process.Different processes (both internal and external to the online socialnetwork) may request a coefficient for a particular object or set ofobjects. Social-networking system 160 may provide a measure of affinitythat is relevant to the particular process that requested the measure ofaffinity. In this way, each process receives a measure of affinity thatis tailored for the different context in which the process will use themeasure of affinity.

In connection with social-graph affinity and affinity coefficients,particular embodiments may utilize one or more systems, components,elements, functions, methods, operations, or steps disclosed in U.S.patent application Ser. No. 11/503,093, filed 11 Aug. 2006, U.S. patentapplication Ser. No. 12/977,027, filed 22 Dec. 2010, U.S. patentapplication Ser. No. 12/978,265, filed 23 Dec. 2010, and U.S. patentapplication Ser. No. 13/632,869, filed 1 Oct. 2012, each of which isincorporated by reference.

Advertising

In particular embodiments, an advertisement may be text (which may beHTML-linked), one or more images (which may be HTML-linked), one or morevideos, audio, one or more ADOBE FLASH files, a suitable combination ofthese, or any other suitable advertisement in any suitable digitalformat presented on one or more webpages, in one or more e-mails, or inconnection with search results requested by a user. In addition or as analternative, an advertisement may be one or more sponsored stories(e.g., a news-feed or ticker item on social-networking system 160). Asponsored story may be a social action by a user (such as “liking” apage, “liking” or commenting on a post on a page, RSVPing to an eventassociated with a page, voting on a question posted on a page, checkingin to a place, using an application or playing a game, or “liking” orsharing a website) that an advertiser promotes, for example, by havingthe social action presented within a pre-determined area of a profilepage of a user or other page, presented with additional informationassociated with the advertiser, bumped up or otherwise highlightedwithin news feeds or tickers of other users, or otherwise promoted. Theadvertiser may pay to have the social action promoted. As an example andnot by way of limitation, advertisements may be included among thesearch results of a search-results page, where sponsored content ispromoted over non-sponsored content.

In particular embodiments, an advertisement may be requested for displaywithin social-networking-system webpages, third-party webpages, or otherpages. An advertisement may be displayed in a dedicated portion of apage, such as in a banner area at the top of the page, in a column atthe side of the page, in a GUI of the page, in a pop-up window, in adrop-down menu, in an input field of the page, over the top of contentof the page, or elsewhere with respect to the page. In addition or as analternative, an advertisement may be displayed within an application. Anadvertisement may be displayed within dedicated pages, requiring theuser to interact with or watch the advertisement before the user mayaccess a page or utilize an application. The user may, for example viewthe advertisement through a web browser.

A user may interact with an advertisement in any suitable manner. Theuser may click or otherwise select the advertisement. By selecting theadvertisement, the user may be directed to (or a browser or otherapplication being used by the user) a page associated with theadvertisement. At the page associated with the advertisement, the usermay take additional actions, such as purchasing a product or serviceassociated with the advertisement, receiving information associated withthe advertisement, or subscribing to a newsletter associated with theadvertisement. An advertisement with audio or video may be played byselecting a component of the advertisement (like a “play button”).Alternatively, by selecting the advertisement, social-networking system160 may execute or modify a particular action of the user.

An advertisement may also include social-networking-system functionalitythat a user may interact with. As an example and not by way oflimitation, an advertisement may enable a user to “like” or otherwiseendorse the advertisement by selecting an icon or link associated withendorsement. As another example and not by way of limitation, anadvertisement may enable a user to search (e.g., by executing a query)for content related to the advertiser. Similarly, a user may share theadvertisement with another user (e.g., through social-networking system160) or RSVP (e.g., through social-networking system 160) to an eventassociated with the advertisement. In addition or as an alternative, anadvertisement may include social-networking-system context directed tothe user. As an example and not by way of limitation, an advertisementmay display information about a friend of the user withinsocial-networking system 160 who has taken an action associated with thesubject matter of the advertisement.

Privacy

In particular embodiments, one or more of the content objects of theonline social network may be associated with a privacy setting. Theprivacy settings (or “access settings”) for an object may be stored inany suitable manner, such as, for example, in association with theobject, in an index on an authorization server, in another suitablemanner, or any combination thereof. A privacy setting of an object mayspecify how the object (or particular information associated with anobject) can be accessed (e.g., viewed or shared) using the online socialnetwork. Where the privacy settings for an object allow a particularuser to access that object, the object may be described as being“visible” with respect to that user. As an example and not by way oflimitation, a user of the online social network may specify privacysettings for a user-profile page identify a set of users that may accessthe work experience information on the user-profile page, thus excludingother users from accessing the information. In particular embodiments,the privacy settings may specify a “blocked list” of users that shouldnot be allowed to access certain information associated with the object.In other words, the blocked list may specify one or more users orentities for which an object is not visible. As an example and not byway of limitation, a user may specify a set of users that may not accessphotos albums associated with the user, thus excluding those users fromaccessing the photo albums (while also possibly allowing certain usersnot within the set of users to access the photo albums). In particularembodiments, privacy settings may be associated with particularsocial-graph elements. Privacy settings of a social-graph element, suchas a node or an edge, may specify how the social-graph element,information associated with the social-graph element, or content objectsassociated with the social-graph element can be accessed using theonline social network. As an example and not by way of limitation, aparticular concept node 204 corresponding to a particular photo may havea privacy setting specifying that the photo may only be accessed byusers tagged in the photo and their friends. In particular embodiments,privacy settings may allow users to opt in or opt out of having theiractions logged by social-networking system 160 or shared with othersystems (e.g., third-party system 170). In particular embodiments, theprivacy settings associated with an object may specify any suitablegranularity of permitted access or denial of access. As an example andnot by way of limitation, access or denial of access may be specifiedfor particular users (e.g., only me, my roommates, and my boss), userswithin a particular degrees-of-separation (e.g., friends, orfriends-of-friends), user groups (e.g., the gaming club, my family),user networks (e.g., employees of particular employers, students oralumni of particular university), all users (“public”), no users(“private”), users of third-party systems 170, particular applications(e.g., third-party applications, external websites), other suitableusers or entities, or any combination thereof. Although this disclosuredescribes using particular privacy settings in a particular manner, thisdisclosure contemplates using any suitable privacy settings in anysuitable manner.

In particular embodiments, one or more servers 162 may beauthorization/privacy servers for enforcing privacy settings. Inresponse to a request from a user (or other entity) for a particularobject stored in a data store 164, social-networking system 160 may senda request to the data store 164 for the object. The request may identifythe user associated with the request and may only be sent to the user(or a client system 130 of the user) if the authorization serverdetermines that the user is authorized to access the object based on theprivacy settings associated with the object. If the requesting user isnot authorized to access the object, the authorization server mayprevent the requested object from being retrieved from the data store164, or may prevent the requested object from be sent to the user. Inthe search query context, an object may only be generated as a searchresult if the querying user is authorized to access the object. In otherwords, the object must have a visibility that is visible to the queryinguser. If the object has a visibility that is not visible to the user,the object may be excluded from the search results. Although thisdisclosure describes enforcing privacy settings in a particular manner,this disclosure contemplates enforcing privacy settings in any suitablemanner.

Systems and Methods

FIG. 8 illustrates an example computer system 800. In particularembodiments, one or more computer systems 800 perform one or more stepsof one or more methods described or illustrated herein. In particularembodiments, one or more computer systems 800 provide functionalitydescribed or illustrated herein. In particular embodiments, softwarerunning on one or more computer systems 800 performs one or more stepsof one or more methods described or illustrated herein or providesfunctionality described or illustrated herein. Particular embodimentsinclude one or more portions of one or more computer systems 800.Herein, reference to a computer system may encompass a computing device,and vice versa, where appropriate. Moreover, reference to a computersystem may encompass one or more computer systems, where appropriate.

This disclosure contemplates any suitable number of computer systems800. This disclosure contemplates computer system 800 taking anysuitable physical form. As example and not by way of limitation,computer system 800 may be an embedded computer system, a system-on-chip(SOC), a single-board computer system (SBC) (such as, for example, acomputer-on-module (COM) or system-on-module (SOM)), a desktop computersystem, a laptop or notebook computer system, an interactive kiosk, amainframe, a mesh of computer systems, a mobile telephone, a personaldigital assistant (PDA), a server, a tablet computer system, or acombination of two or more of these. Where appropriate, computer system800 may include one or more computer systems 800; be unitary ordistributed; span multiple locations; span multiple machines; spanmultiple data centers; or reside in a cloud, which may include one ormore cloud components in one or more networks. Where appropriate, one ormore computer systems 800 may perform without substantial spatial ortemporal limitation one or more steps of one or more methods describedor illustrated herein. As an example and not by way of limitation, oneor more computer systems 800 may perform in real time or in batch modeone or more steps of one or more methods described or illustratedherein. One or more computer systems 800 may perform at different timesor at different locations one or more steps of one or more methodsdescribed or illustrated herein, where appropriate.

In particular embodiments, computer system 800 includes a processor 802,memory 804, storage 806, an input/output (I/O) interface 808, acommunication interface 810, and a bus 812. Although this disclosuredescribes and illustrates a particular computer system having aparticular number of particular components in a particular arrangement,this disclosure contemplates any suitable computer system having anysuitable number of any suitable components in any suitable arrangement.

In particular embodiments, processor 802 includes hardware for executinginstructions, such as those making up a computer program. As an exampleand not by way of limitation, to execute instructions, processor 802 mayretrieve (or fetch) the instructions from an internal register, aninternal cache, memory 804, or storage 806; decode and execute them; andthen write one or more results to an internal register, an internalcache, memory 804, or storage 806. In particular embodiments, processor802 may include one or more internal caches for data, instructions, oraddresses. This disclosure contemplates processor 802 including anysuitable number of any suitable internal caches, where appropriate. Asan example and not by way of limitation, processor 802 may include oneor more instruction caches, one or more data caches, and one or moretranslation lookaside buffers (TLBs). Instructions in the instructioncaches may be copies of instructions in memory 804 or storage 806, andthe instruction caches may speed up retrieval of those instructions byprocessor 802. Data in the data caches may be copies of data in memory804 or storage 806 for instructions executing at processor 802 tooperate on; the results of previous instructions executed at processor802 for access by subsequent instructions executing at processor 802 orfor writing to memory 804 or storage 806; or other suitable data. Thedata caches may speed up read or write operations by processor 802. TheTLBs may speed up virtual-address translation for processor 802. Inparticular embodiments, processor 802 may include one or more internalregisters for data, instructions, or addresses. This disclosurecontemplates processor 802 including any suitable number of any suitableinternal registers, where appropriate. Where appropriate, processor 802may include one or more arithmetic logic units (ALUs); be a multi-coreprocessor; or include one or more processors 802. Although thisdisclosure describes and illustrates a particular processor, thisdisclosure contemplates any suitable processor.

In particular embodiments, memory 804 includes main memory for storinginstructions for processor 802 to execute or data for processor 802 tooperate on. As an example and not by way of limitation, computer system800 may load instructions from storage 806 or another source (such as,for example, another computer system 800) to memory 804. Processor 802may then load the instructions from memory 804 to an internal registeror internal cache. To execute the instructions, processor 802 mayretrieve the instructions from the internal register or internal cacheand decode them. During or after execution of the instructions,processor 802 may write one or more results (which may be intermediateor final results) to the internal register or internal cache. Processor802 may then write one or more of those results to memory 804. Inparticular embodiments, processor 802 executes only instructions in oneor more internal registers or internal caches or in memory 804 (asopposed to storage 806 or elsewhere) and operates only on data in one ormore internal registers or internal caches or in memory 804 (as opposedto storage 806 or elsewhere). One or more memory buses (which may eachinclude an address bus and a data bus) may couple processor 802 tomemory 804. Bus 812 may include one or more memory buses, as describedbelow. In particular embodiments, one or more memory management units(MMUs) reside between processor 802 and memory 804 and facilitateaccesses to memory 804 requested by processor 802. In particularembodiments, memory 804 includes random access memory (RAM). This RAMmay be volatile memory, where appropriate Where appropriate, this RAMmay be dynamic RAM (DRAM) or static RAM (SRAM). Moreover, whereappropriate, this RAM may be single-ported or multi-ported RAM. Thisdisclosure contemplates any suitable RAM. Memory 804 may include one ormore memories 804, where appropriate. Although this disclosure describesand illustrates particular memory, this disclosure contemplates anysuitable memory.

In particular embodiments, storage 806 includes mass storage for data orinstructions. As an example and not by way of limitation, storage 806may include a hard disk drive (HDD), a floppy disk drive, flash memory,an optical disc, a magneto-optical disc, magnetic tape, or a UniversalSerial Bus (USB) drive or a combination of two or more of these. Storage806 may include removable or non-removable (or fixed) media, whereappropriate. Storage 806 may be internal or external to computer system800, where appropriate. In particular embodiments, storage 806 isnon-volatile, solid-state memory. In particular embodiments, storage 806includes read-only memory (ROM). Where appropriate, this ROM may bemask-programmed ROM, programmable ROM (PROM), erasable PROM (EPROM),electrically erasable PROM (EEPROM), electrically alterable ROM (EAROM),or flash memory or a combination of two or more of these. Thisdisclosure contemplates mass storage 806 taking any suitable physicalform. Storage 806 may include one or more storage control unitsfacilitating communication between processor 802 and storage 806, whereappropriate. Where appropriate, storage 806 may include one or morestorages 806. Although this disclosure describes and illustratesparticular storage, this disclosure contemplates any suitable storage.

In particular embodiments, I/O interface 808 includes hardware,software, or both, providing one or more interfaces for communicationbetween computer system 800 and one or more I/O devices. Computer system800 may include one or more of these I/O devices, where appropriate. Oneor more of these I/O devices may enable communication between a personand computer system 800. As an example and not by way of limitation, anI/O device may include a keyboard, keypad, microphone, monitor, mouse,printer, scanner, speaker, still camera, stylus, tablet, touch screen,trackball, video camera, another suitable I/O device or a combination oftwo or more of these. An I/O device may include one or more sensors.This disclosure contemplates any suitable I/O devices and any suitableI/O interfaces 808 for them. Where appropriate, I/O interface 808 mayinclude one or more device or software drivers enabling processor 802 todrive one or more of these I/O devices. I/O interface 808 may includeone or more I/O interfaces 808, where appropriate. Although thisdisclosure describes and illustrates a particular I/O interface, thisdisclosure contemplates any suitable I/O interface.

In particular embodiments, communication interface 810 includeshardware, software, or both providing one or more interfaces forcommunication (such as, for example, packet-based communication) betweencomputer system 800 and one or more other computer systems 800 or one ormore networks. As an example and not by way of limitation, communicationinterface 810 may include a network interface controller (NIC) ornetwork adapter for communicating with an Ethernet or other wire-basednetwork or a wireless NIC (WNIC) or wireless adapter for communicatingwith a wireless network, such as a WI-FI network. This disclosurecontemplates any suitable network and any suitable communicationinterface 810 for it. As an example and not by way of limitation,computer system 800 may communicate with an ad hoc network, a personalarea network (PAN), a local area network (LAN), a wide area network(WAN), a metropolitan area network (MAN), or one or more portions of theInternet or a combination of two or more of these. One or more portionsof one or more of these networks may be wired or wireless. As anexample, computer system 800 may communicate with a wireless PAN (WPAN)(such as, for example, a BLUETOOTH WPAN), a WI-FI network, a WI-MAXnetwork, a cellular telephone network (such as, for example, a GlobalSystem for Mobile Communications (GSM) network), or other suitablewireless network or a combination of two or more of these. Computersystem 800 may include any suitable communication interface 810 for anyof these networks, where appropriate. Communication interface 810 mayinclude one or more communication interfaces 810, where appropriate.Although this disclosure describes and illustrates a particularcommunication interface, this disclosure contemplates any suitablecommunication interface.

In particular embodiments, bus 812 includes hardware, software, or bothcoupling components of computer system 800 to each other. As an exampleand not by way of limitation, bus 812 may include an AcceleratedGraphics Port (AGP) or other graphics bus, an Enhanced Industry StandardArchitecture (EISA) bus, a front-side bus (FSB), a HYPERTRANSPORT (HT)interconnect, an Industry Standard Architecture (ISA) bus, an INFINIBANDinterconnect, a low-pin-count (LPC) bus, a memory bus, a Micro ChannelArchitecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, aPCI-Express (PCIe) bus, a serial advanced technology attachment (SATA)bus, a Video Electronics Standards Association local (VLB) bus, oranother suitable bus or a combination of two or more of these. Bus 812may include one or more buses 812, where appropriate. Although thisdisclosure describes and illustrates a particular bus, this disclosurecontemplates any suitable bus or interconnect.

Herein, a computer-readable non-transitory storage medium or media mayinclude one or more semiconductor-based or other integrated circuits(ICs) (such, as for example, field-programmable gate arrays (FPGAs) orapplication-specific ICs (ASICs)), hard disk drives (HDDs), hybrid harddrives (HHDs), optical discs, optical disc drives (ODDs),magneto-optical discs, magneto-optical drives, floppy diskettes, floppydisk drives (FDDs), magnetic tapes, solid-state drives (SSDs),RAM-drives, SECURE DIGITAL cards or drives, any other suitablecomputer-readable non-transitory storage media, or any suitablecombination of two or more of these, where appropriate. Acomputer-readable non-transitory storage medium may be volatile,non-volatile, or a combination of volatile and non-volatile, whereappropriate.

Miscellaneous

Herein, “or” is inclusive and not exclusive, unless expressly indicatedotherwise or indicated otherwise by context. Therefore, herein, “A or B”means “A, B, or both,” unless expressly indicated otherwise or indicatedotherwise by context. Moreover, “and” is both joint and several, unlessexpressly indicated otherwise or indicated otherwise by context.Therefore, herein, “A and B” means “A and B, jointly or severally,”unless expressly indicated otherwise or indicated otherwise by context.

The scope of this disclosure encompasses all changes, substitutions,variations, alterations, and modifications to the example embodimentsdescribed or illustrated herein that a person having ordinary skill inthe art would comprehend. The scope of this disclosure is not limited tothe example embodiments described or illustrated herein. Moreover,although this disclosure describes and illustrates respectiveembodiments herein as including particular components, elements,feature, functions, operations, or steps, any of these embodiments mayinclude any combination or permutation of any of the components,elements, features, functions, operations, or steps described orillustrated anywhere herein that a person having ordinary skill in theart would comprehend. Furthermore, reference in the appended claims toan apparatus or system or a component of an apparatus or system beingadapted to, arranged to, capable of, configured to, enabled to, operableto, or operative to perform a particular function encompasses thatapparatus, system, component, whether or not it or that particularfunction is activated, turned on, or unlocked, as long as thatapparatus, system, or component is so adapted, arranged, capable,configured, enabled, operable, or operative.

What is claimed is:
 1. A method comprising, by one or more computingdevices of an online social network: receiving, by the one or morecomputing devices from a first client system of a first user of theonline social network, an indication that the first client system hasdetermined a media-player device is within a threshold distance to thefirst client system, wherein the indication comprises information of themedia-player device; determining, by the one or more computing devices,one or more media-content items that are available on the particularmedia-player device based on the information of the media-player device;accessing, by the one or more computing devices, content informationassociated with the one or more media-content items, the one or moremedia-content items being accessible to the first user via themedia-player device, wherein the content information indicates one ormore attributes of the respective media-content item; accessing, by theone or more computing devices, responsive to the received indicationthat the first client system has determined the media-player device iswithin the threshold distance to the first client system,social-networking information of the first user; selecting, by the oneor more computing devices, a media-content item of the one or moremedia-content items based on the content information of themedia-content item and the social-networking information of the firstuser; and sending, by the one or more computing devices, a customizednotification to the first client system, the customized notificationcomprising a reference to the selected media-content item and a deeplink to the media-player device, the deep link being selectable by thefirst user, wherein the deep link comprises instructions for presentingthe selected media-content item on a display device coupled to themedia-player device.
 2. The method of claim 1, wherein the media-deviceplayer retrieves the selected media-content item in response to theinstructions sent by the first client system in response to the firstuser selecting the deep link.
 3. The method of claim 2, wherein themedia-device player presents the selected media-content item to the userin response to the instructions received from the first client system.4. The method of claim 1, wherein the content information is accessedfrom the media-player device.
 5. The method of claim 1, wherein thecontent information is accessed from a third-party content provider, thethird-party content provider being associated with at least one of theone or more media-content items.
 6. The method of claim 1, wherein atleast one of the one or more media-content items is accessible to thefirst user via the media-player device based on the user having asubscription with a third-party content provider.
 7. The method of claim1, wherein the reference to the selected media-content item comprises anadvertisement for the selected media-content item.
 8. The method ofclaim 1, wherein the media-player device is within the thresholddistance to the first client system if it is within a wireless range ofthe first client system.
 9. The method of claim 1, further comprising:receiving, from a second client system of a second user of the onlinesocial network, an indication that the media-player device is within thethreshold distance to the second client system; and accessing,responsive to the received indication that the media-player device iswithin the threshold distance to the second client system and thecontent information, social-networking information of the second user,wherein the selecting of the media-content item is further based on thesocial-networking information of the second user.
 10. The method ofclaim 1, wherein the social-networking information of the first usercomprises preference information of the first user.
 11. The method ofclaim 1, wherein the social-networking information of the first usercomprises demographic information of the first user.
 12. The method ofclaim 1, wherein the online social network comprises a social graphcomprising a plurality of nodes and a plurality of edges connecting thenodes, each of the edges between two of the nodes representing a singledegree of separation between them, the nodes comprising: a first nodecorresponding to the first user of the online social network; and aplurality of second nodes that each correspond to a respective conceptassociated with the online social network.
 13. The method of claim 1,wherein the social-networking information of the first user comprises anaffinity coefficient of the first node with respect to one or moresecond nodes.
 14. The method of claim 1, wherein the content informationassociated with the one or more media-content items comprises scheduleinformation for each of the media-content items.
 15. The method of claim1, wherein the content information associated with the one or moremedia-content items comprises genre information for each of themedia-content items.
 16. One or more computer-readable non-transitorystorage media embodying software that is operable when executed to:receive, by one or more computing devices of an online social networkfrom a first client system of a first user of the online social network,an indication that the first client system has determined a media-playerdevice is within a threshold distance to the first client system,wherein the indication comprises information of the media-player device;determine, by the one or more computing devices, one or moremedia-content items that are available on the particular media-playerdevice based on the information of the media-player device; access, bythe one or more computing devices, content information associated withthe one or more media-content items, the one or more media-content itemsbeing accessible to the first user via the media-player device, whereinthe content information indicates one or more attributes of therespective media-content item; access, by the one or more computingdevices, responsive to the received indication that the first clientsystem has determined the media-player device is within the thresholddistance to the first client system, social-networking information ofthe first user; select, by the one or more computing devices, amedia-content item of the one or more media-content items based on thecontent information of the media-content item and the social-networkinginformation of the first user; and send, by the one or more computingdevices, a customized notification to the first client system, thecustomized notification comprising a reference to the selectedmedia-content item and a deep link to the media-player device, the deeplink being selectable by the first user, wherein the deep link comprisesinstructions for presenting the selected media-content item on a displaydevice coupled to the media-player device.
 17. A system comprising: oneor more processors; and a memory coupled to the processors comprisinginstructions executable by the processors, the processors operable whenexecuting the instructions to: receive, by one or more computing devicesof an online social network from a first client system of a first userof the online social network, an indication that the first client systemhas determined a media-player device is within a threshold distance tothe first client system, wherein the indication comprises information ofthe media-player device; determine, by the one or more computingdevices, one or more media-content items that are available on theparticular media-player device based on the information of themedia-player device; access, by the one or more computing devices,content information associated with the one or more media-content items,the one or more media-content items being accessible to the first uservia the media-player device, wherein the content information indicatesone or more attributes of the respective media-content item; access, bythe one or more computing devices, responsive to the received indicationthat the first client system has determined the media-player device iswithin the threshold distance to the first client system,social-networking information of the first user; select, by the one ormore computing devices, a media-content item of the one or moremedia-content items based on the content information of themedia-content item and the social-networking information of the firstuser; and send, by the one or more computing devices, a customizednotification to the first client system, the customized notificationcomprising a reference to the selected media-content item and a deeplink to the media-player device, the deep link being selectable by thefirst user, wherein the deep link comprises instructions for presentingthe selected media-content item on a display device coupled to themedia-player device.
 18. The system of claim 17, wherein themedia-device player is further to retrieve the selected media-contentitem in response to the instructions sent by the first client system inresponse a selection of the deep link by the first user.
 19. The systemof claim 18, wherein the media-device player is further to present theselected media-content item to the user in response to the instructionsreceived from the first client system.
 20. The system of claim 17,wherein the content information is accessed from the media-playerdevice.
 21. The system of claim 17, wherein the content information isaccessed from a third-party content provider, the third-party contentprovider being associated with at least one of the one or moremedia-content items.
 22. The system of claim 17, wherein at least one ofthe one or more media-content items is accessible to the first user viathe media-player device based on the user having a subscription with athird-party content provider.
 23. The system of claim 17, wherein thereference to the selected media-content item comprises an advertisementfor the selected media-content item.
 24. The system of claim 17, whereinthe media-player device is within the threshold distance to the firstclient system if it is within a wireless range of the first clientsystem.
 25. The system of claim 17, wherein the processors are furtheroperable when executing instructions to: receive, from a second clientsystem of a second user of the online social network, an indication thatthe media-player device is within the threshold distance to the secondclient system; and access, responsive to the received indication thatthe media-player device is within the threshold distance to the secondclient system and the content information, social-networking informationof the second user, and wherein the selection of the media-content itemis further based on the social-networking information of the seconduser.
 26. The system of claim 17, wherein the social-networkinginformation of the first user comprises preference information of thefirst user.
 27. The system of claim 17, wherein the social-networkinginformation of the first user comprises demographic information of thefirst user.
 28. The system of claim 17, wherein the online socialnetwork comprises a social graph comprising a plurality of nodes and aplurality of edges connecting the nodes, each of the edges between twoof the nodes representing a single degree of separation between them,the nodes comprising: a first node corresponding to the first user ofthe online social network; and a plurality of second nodes that eachcorrespond to a respective concept associated with the online socialnetwork.
 29. The system of claim 17, wherein the social-networkinginformation of the first user comprises an affinity coefficient of thefirst node with respect to one or more second nodes.
 30. The system ofclaim 17, wherein the content information associated with the one ormore media-content items comprises schedule information for each of themedia-content items.
 31. The system of claim 17, wherein the contentinformation associated with the one or more media-content itemscomprises genre information for each of the media-content items.